Skip to main content

Integration through the Google Cloud Console

Overview

To monitor Google Cloud Platform (GCP) resources in Motadata ObserveOps (formerly known as ObserveOps (formerly known as AIOps)), you need to retrieve the following credentials from the Google Cloud Console:

  • Client ID
  • Client Secret

You also need to enable the specific GCP service APIs you want to monitor. This guide walks you through each step.

note

Save the Client Secret immediately after creating the OAuth client — Google will not display it again after you close the dialog.

Step 1: Navigate to Credentials

  1. Log in to the Google Cloud Console.

  2. Open the Navigation Menu (top-left hamburger icon).

  3. Go to APIs & Services and select Credentials.

Step 2: Create an OAuth Client ID

  1. On the Credentials page, click + Create client.

  2. In the Create OAuth client ID form, set Application type to Web application.

  1. Give the client a name, then click Create.

  2. Google displays the OAuth client created dialog with your Client ID and Client Secret.

note

Copy and securely save both values before closing this dialog. The Client Secret cannot be retrieved again — without it, syncing GCP data with ObserveOps is not possible.

  1. Click OK to close the dialog.

Step 3: Configure Data Access Scopes

  1. In the left-side panel under Google Auth Platform, select Data Access.

  2. Review the listed scopes. The following are the example of scopes, which are required for ObserveOps to collect GCP monitoring data:

ScopePurpose
../auth/cloud-platformFull access to Google Cloud services
../auth/bigqueryView and manage BigQuery data
../auth/cloudplatformprojects.readonlyView Cloud Platform projects
  1. Click Add or remove scopes if any required scope is missing, and add it.

Step 4: Enable Required GCP Service APIs

ObserveOps can only collect metrics for GCP services whose APIs are enabled in your project. You must enable each service API before ObserveOps can discover and monitor it.

  1. Open the Navigation Menu, go to APIs & Services, and select Enabled APIs & services.

  1. Click + Enable APIs and services.

  2. Search for each service you want to monitor and click Enable.

The following APIs are commonly required:

APIMonitors
Cloud Monitoring APIGCP metrics and alerting
Compute Engine APIVM instances
Cloud Filestore APIManaged file storage
Cloud Resource Manager APIProject and resource hierarchy
Cloud Storage APIObject storage buckets
  1. Repeat for each additional service you want ObserveOps to monitor.

Summary

You now have all the credentials and API access required to integrate Google Cloud with Motadata ObserveOps:

ItemWhere to Find It
Client IDAPIs & Services → Credentials → OAuth client → Client ID
Client SecretAPIs & Services → Credentials → OAuth client → Client Secret (save at creation)
Enabled APIsAPIs & Services → Enabled APIs & services

Use the Client ID and Client Secret when creating a credential profile for Google Cloud in ObserveOps. Refer to Adding Cloud Devices for Monitoring to continue.